﻿using Model;
using Model.DTO;
using Model.DTO.Role;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IBLL
{
    public interface IRoleBLL
    {
        /// <summary>
        /// 添加角色
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> AddRole(EditRoleDTO param);

        /// <summary>
        /// 删除角色
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> DeleteRole(DeleteRoleDTO param);

        /// <summary>
        /// 修改角色
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> UpdateRole(EditRoleDTO param);


        /// <summary>
        /// 获取角色列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> GetRoleList(GetListDTO param);
    }
}
